package org.example.dao;

import org.example.model.ApplicationProcessEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: wwy
 * @Date: 2020/12/3 13:53
 */
public interface ApplicationProcessRepository extends JpaRepository<ApplicationProcessEntity,Long> {
    /**
     * 根据planId查询
     * @param planId
     * @return
     */
    List<ApplicationProcessEntity> findAllByPlanId(long planId);
}
